<%= stylesheet_link_tag "back-events-page-new", :media => "all"  %>   
<% @title = "News/Events Page Back - New Events Page" -%>
<% @header = "News/Events Page Back - New Events Page" -%>
<%=  javascript_include_tag :fckeditor %>
<div id="block-mgt">  
  <div id="block-list">  
    <ul>
      <li><%= link_to "Web Back Menu" ,:controller => "back_menu"%></li>
    </ul>
  </div><!-- End #back-list -->
  
  <div id="operate-mgt">
    <div id="operate-intro">
      <h3>Information For New Events Page</h3>
      <p>In New Events Page, Admin can create a brand new news or event page. This operation will add the new page into the website and database. Then it will be displayed in the top of News/Events list. 
      <p>The content of the page can contain text, photos and videos. The width of the creating area is 840px, but the length can be scrolled by the content. Its font size is 14px and the font color is dark grey.
      <p>After you created this new page, please do not forget to make its abstract in News/Events Column of Home Page.
      </p>
    </div><!-- end #operate-intro -->

    <div id="operate-area">
      <h3>New Events Page</h3>
      <div id="operate-new">
        <% form_for :event,@event,:url => { :action => 'create' }, :html => { :method => :post } do |f| %>
          <div class="word">
            <p align="center">New Title Of The Event:&nbsp;&nbsp;&nbsp;&nbsp;(Less than 90 letters.)</p>
          </div>
          <div class="row">
            <%= f.text_field :ev_title %>
          </div>
          <div class="word">
            <p align="center">New Author:&nbsp;&nbsp;&nbsp;&nbsp;(Less than 40 letters.)</p>
          </div>
          <div class="row">
            <%= f.text_field :ev_author %>
          </div>
          <div class="word">
            <p>New Content:&nbsp;&nbsp;&nbsp;&nbsp;(Text, Picture and Videos are available.)</p>
          </div>
          <div class="message">
            <%= fckeditor_textarea(:event, :ev_desc, :width => '100%', :height => '360px' )%>
          </div>
          <div class="word">
            <p align="center">New Admin:&nbsp;&nbsp;&nbsp;&nbsp;(Less than 40 letters.)</p>
          </div>
          <div class="row">
            <input name="admin" type="text" class="input" maxlength=40 size=50 />
          </div>
          <div class="div">
            <p>
              <%= f.submit "New Content" ,:confirm => "New Content Has Been Successfully Input!" %>
            </p>
          </div>
        <% end %>
      </div>    <!-- End #operate-new -->

      
      <div id="operate-buttons"> 
        <ul>
          <li><%= link_to "Back" ,:action => "index"%></li>
        </ul>
      </div><!-- End #operate-bottons -->
        
    </div> <!-- end #operate-area -->
    
  </div> <!-- end #operate-mgt -->

  
</div> <!-- end #block-mgt -->
